package net.sx.minemodule.mvp.fragments;

import android.support.v7.widget.RecyclerView;

import com.homegoods.resource.util.Utils;
import com.kedll.library.fragment.KRefreshListFragment;

import net.sx.minemodule.R;
import net.sx.minemodule.databinding.MineFragmentMineVideoCollectBinding;
import net.sx.minemodule.mvp.presenters.MineVideoCollectPresenter;

/**
 * 短视频收藏
 * @author 11470
 */

public class MineVideoCollectFragment extends KRefreshListFragment<MineFragmentMineVideoCollectBinding,MineVideoCollectPresenter> {

    @Override
    protected MineVideoCollectPresenter getPresenter() {
        return new MineVideoCollectPresenter(this);
    }

    @Override
    protected int getLayout() {
        return R.layout.mine_fragment_mine_video_collect;
    }

    @Override
    protected RecyclerView.LayoutManager getLayoutManager() {
        return Utils.getGridLayoutManager(getContext(), adapter, 3);
    }

}
